SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ac229d724acb5ad8617967f7c1be8b02f1d31efb34e7b51c079355e288b630f7' 
  AND token = 'gLbfQJmQzefntShSsQB/+PPJQt+4zwtsptzDl161zew=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00054

JSON explain

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