SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9d75c17478bc6ba69b0c1f93f75b4c9971038912219e1c18991135b9ac1f3940' 
  AND token = '1OrdapUuXKBewLp292l1Gz+d9kfaDbalazZjakKu8B8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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