SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a79b896079d62455369c20e82f16f0bf9c41c8270d437058dcb980864efd2f57' 
  AND token = '3A2xvTAo1gQMAmltU1cbX2OwL+wSsyRWoD2r4jSa8E8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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