SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b23b2bf62696c7eace088faa3400430b020acfc5e0681a44ddf0fd295be523f1' 
  AND token = 'fsisbRphUErVdq5s63INl0p8ASXSftOZgN1yJbPTQIQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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