SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '38af4a7c7bfe95179960b139a9e58bbd9856f993319e13db4bb5140affb9d72f' 
  AND token = 'MXyaRpu3xzmlBAOu8pd/Ai5wbtNIgtJbyoaaiTPTYkE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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