SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3181870c47e0daa539014b83e985df249c8603b36f86da991881c361c08c5d37' 
  AND token = 'wdjiAjOYaxMWPUmK2E8B6r2ec2FJI8xbcnIpUAXvU9o=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00044

JSON explain

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