SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ff97eccb82db4bba80abce2bbf59762879bd009ab8870e8ceac7b6d697dd5275' 
  AND token = 'sPQ+6fCE0SzaRYcVUVXZ+6u5B9X6XAjlREAT7dOkQnA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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