SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '50ed6171fb56947454352d46685525374cc7861aa5c458b83498bdfda855d32a' 
  AND token = 'ofIl4/sBq1rtqmDSiNOBS4D0LEp5Z0LWvHZo4FxZrro=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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