SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5c7779dd7199621ef6870f88f01ca2bebdab458d9af4b21607fa551af5c7dadb' 
  AND token = '0ok4w2xF/+Yb14/ondzOrCjhThdqNM+ywgr23/SwRDw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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