SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ae0df2064f38344f3609a63bb151f2a2715e28f7a990949f76b8a89886dc6680' 
  AND token = 'QhUGBits0EwXb0UP3XjgJ7rOFDC/xIwUACJ8G9DOf+U=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00022

JSON explain

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