SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5863b4b7a8118dab465ba0426b1a44ce727b595e03e04ff1189ffcc8679ac4b7' 
  AND token = 'N4S3AKcjzTi16aI4tTGqbKfbItX46no4H3Nnga7782E=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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