SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '940970a2fc200f389276df91493d6a2d6178a0ba8c515603203cd987908525b4' 
  AND token = 'BNO4CMDd2nno+sx4BAdh3Ap+0t814iTXbYck1EshygQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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