SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'dab8dc3b6be20b4c05d580fd588ea6d13dd68b7b367ecb848f0e63bc30f9b4db' 
  AND token = 'NQW40PsSQd9NX+/848X17ajHhLOIR8iSFB9jfClW+Ec=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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