SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4da6cd9e8701a125361dab5284345e38f73184ddf49ec85196f42bd8cbc3247e' 
  AND token = 'errRPxAyaKBWDLIw8uNMEd/cISQu4N6P9qDQDThKoMQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

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