SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '53596af582038c9eb13207075a4df6e4e8bc5628abda7a893f79aafac65a98a4' 
  AND token = '9Afj2QhFTffPOfHdFh7Ma8u4bCWous6BoFPq3kEX7C4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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