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

Query time 0.00120

JSON explain

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