SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e979bbd44c75d48642c4e10e8de8c793f20d297d2cb6645f15d9cdd9090e52bb' 
  AND token = 'JwuK1F0H4bjXkwaS9MuiigewXST0bJhuQvWpaWw9ts0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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