SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'af56dfddd42c99c1565235af423c8732e49ea9eac7c9d9ee53f078590ead61da' 
  AND token = 'GNjdK28OMoAwBdKNzdBKRV769/ZzTCQUoQb0EQAXIpw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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