SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd40a78bde93c34da53a72e5554a031604625fc72da9b655661654f52945ddb36' 
  AND token = 'EZgDLC3b/QPhMUwCX6/4LBw5/pSDNyCfJ9okkKyShpA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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