SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '90ed1798a2aa6551104e413442a07dbcbe47903a98a0b09ce9c10799bc377da3' 
  AND token = 'TQSTeislr0dzXGyOz3DxnsruDNjMpR/FjVZi2G9zPwo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00063

JSON explain

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