SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '51de4af86d814d08692f29ef59bad0942687e88fb1f37c19739554bc51a4beab' 
  AND token = 'I0n1eZyppamOFeXgVJfi1pLBA4zDPY1EbBdvt7piCeE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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