SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd50e54c49832e7c9943bedf1f4b0ecae7e94e88caca41fc254c9006ea1307d8f' 
  AND token = 'QX7XG7UqWZyoqNbmQ7PANQwlxxmuoAN6eih23/918G4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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