SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '538ca8aa3acdf5dfa595f93ed63ba2656b9b33345ca65347576fe528b81672b0' 
  AND token = '3BafpBG007IKXQe5Yu6DrXazdkQljnL9nqohIwIo+0U=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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