SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3ead5b0f942fcdedc19731cc723b2374f17b4183763a9db9c2d307ff0f815312' 
  AND token = 'hBqU2BpGqEjaFfTRom4Z4SDvZbsnZvQAg1QGM3p3B1I=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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