SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '02a479abc053ade8b518e0069f23b589c8788bc84a1c3443078da19d7a938827' 
  AND token = 'aYyhZNRq/CfPFyoK413/hVV1J5rg4dboPbe47Sh5rU0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

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