SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'cf9630c22951bd13ea4140b2dcc937b8370723b5162cdbe037fa6ca21210c8af' 
  AND token = 'k98PH2dgkRg/yZADsvxZwS/Vvd9uj1yBeVwaLFiFNz4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

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