SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '50c74f0f578a812980320aed0eb1e85330775d349e14469804a2cd07cf6c822a' 
  AND token = 'th1n82PIZm+p3hnbm0BiKyIf260BiS3LW7EIvduUDvA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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