SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1ca740fbf8f68243ee1c9f17b00e80f2fccc69d213ce1bda761596f05c784efd' 
  AND token = 'DGwC9F2X829bu+HSczel2vSeomMVdadSX6xXvnyBc4Y=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00021

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}