SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5f0f89206728f180464cb04b3c9bb0b0794f1a0c4524c0c50c04345d4f285e4a' 
  AND token = 'mpMp6Kw1VrV5KsdL90o++hjB4e8B+3XqA2tjmvE2po8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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