SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '152d5ce1806406a3078bd4ff684f73f645488fce9e8baf70e07b318459bae044' 
  AND token = 'QekPrRicUcUJxszdIKJOjsWTsZTkWHxENOofWt+L9as=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00013

JSON explain

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